package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessDo;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.dto.business.UpdateBusinessInfoDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessVO;

import java.util.List;

/**
 *
 * @author MrZhao
 * @created 2025-10-15 10:53
 * @description
 *  商机业务Service
 *
 */
public interface BusinessService extends IService<Business> {
    void addBusiness(BusinessDTO dto);

    PageResult<BusinessDo> businessList(BusinessListDTO dto);

    PageResult<Business> getPool(BusinessPoolDTO dto);

    void updateBusinessInfoById(UpdateBusinessInfoDTO dto);

    BusinessVO getBusinessInfoById(Integer id);

    void toCustomer(Integer id);
}